
REPLICATION FILES FOR:  
	
	The Impact of Private Hosting on the Integration of Ukrainian Refugees in Germany
	Mathis Herpell, Moritz Marbach, Niklas Harder, Alexandra Orlova, Dominik Hangartner, Jens Hainmueller

	Please contact Moritz Marbach if you have any problems 
	or questions with these replication files: m.marbach@ucl.ac.uk
	Current contact details are also available at: www.moritz-marbach.com

	June 10, 2025
	

INSTRUCTIONS
============

To protect survey respondents' privacy, the survey data merged with the registration data and additional 
location variables used for the analysis is only available via controlled remote access. To access the data, 
interested researchers must create an account with the DeZIM research data center at https://fdz.dezim-institut.de/en. 
Once registered, interested researchers can apply for access to the dataset via the request form on the 
DeZIM research data center website. To apply for data access, interested researchers must give information on their 
institutional affiliation, the title of their research project, the expected duration of their research project, the 
goal of their research project, and the methods to be applied to the data. The interested researcher must then accept the 
terms of use and, after the application is approved, the interested researcher must sign a data use agreement, which must 
be physically sent to the DeZIM institute. Afterwards, interested researchers are able to remotely access the data. 

To replicate the results, run the R scripts:  01_run_models.R 02_run_ddlm.do 03_run_desc.R 04_run_addon.R

Tables and figures from the paper will be generated in the "results" folder.  

Correspondence between tables/figures and R scripts:

Main Text: 

Figure 1: fig_1.pdf from 03_run_desc.R 
Figure 2: fig_2.pdf from 01_run_models.R 
Figure 3: fig_3.pdf from 01_run_models.R 
Figure 4: fig_4.pdf from 01_run_models.R 

Supplementary Materials:  

Figure 1-9: [Illustrations] 
Figure 10: sm_fig_10.pdf from 04_run_addon.R 
Figure 11: sm_fig_11.pdf from 04_run_addon.R 
Figure 12: sm_fig_12.pdf from 04_run_addon.R 
Figure 13: sm_fig_13.pdf from 03_run_desc.R
Figure 14: sm_fig_14.pdf from 03_run_desc.R
Figure 15: sm_fig_15.pdf from 03_run_desc.R
Figure 16: sm_fig_16.pdf from 04_run_addon.R 
Figure 17: sm_fig_17.pdf from 01_run_models.R 
Figure 18: sm_fig_18.pdf from 03_run_desc.R

 Table 1-2: [Illustration]
 Table 3: sm_tab_3.tex from 01_run_models.R
 Table 4: sm_tab_4.tex from 01_run_models.R
 Table 5: sm_tab_5.tex from 01_run_models.R
 Table 6: sm_tab_6.tex from 01_run_models.R
 Table 7: sm_tab_7.tex from 01_run_models.R
 Table 8: sm_tab_8.tex from 03_run_desc.R
 Table 9: sm_tab_9.tex from 03_run_desc.R
Table 10: sm_tab_10.tex from 03_run_desc.R
Table 11: sm_tab_11.tex from 01_run_models.R
Table 12: sm_tab_12.tex from 01_run_models.R
Table 13: sm_tab_13.tex from 01_run_models.R
Table 14: sm_tab_14.tex from 01_run_models.R
Table 15: sm_tab_15.tex from 01_run_models.R
Table 16: sm_tab_16.tex from 01_run_models.R
Table 17: sm_tab_17.tex from 01_run_models.R
Table 18: sm_tab_18.tex from 01_run_models.R
Table 19: sm_tab_19.tex from 01_run_models.R
Table 20: sm_tab_20.tex from 01_run_models.R
Table 21: sm_tab_21.tex from 01_run_models.R
Table 22: sm_tab_22.tex from 01_run_models.R
Table 23: sm_tab_23.tex from 01_run_models.R
Table 24: sm_tab_24.tex from 01_run_models.R
Table 25: sm_tab_25.tex from 02_run_ddlm.do
Table 26: sm_tab_26.tex from 01_run_models.R
Table 27: sm_tab_27.tex from 01_run_models.R



SESSION INFO
============

R version 4.4.2 (2024-10-31)
Platform: aarch64-apple-darwin24.1.0
Running under: macOS Sequoia 15.5

Matrix products: default
BLAS:   /opt/homebrew/Cellar/openblas/0.3.29/lib/libopenblasp-r0.3.29.dylib 
LAPACK: /opt/homebrew/Cellar/r/4.4.2_1/lib/R/lib/libRlapack.dylib;  LAPACK version 3.12.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: GMT
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] openxlsx_4.2.8     ggtext_0.1.2       ggpubr_0.6.0       sensemakr_0.1.6   
 [5] broom_1.0.8        modelsummary_2.3.0 readxl_1.4.5       fixest_0.12.1     
 [9] lubridate_1.9.4    forcats_1.0.0      stringr_1.5.1      dplyr_1.1.4.9000  
[13] purrr_1.0.4        readr_2.1.5        tidyr_1.3.1        tibble_3.2.1      
[17] ggplot2_3.5.2      tidyverse_2.0.0   

loaded via a namespace (and not attached):
 [1] tidyselect_1.2.1    viridisLite_0.4.2   farver_2.1.2       
 [4] fastmap_1.2.0       bayestestR_0.15.2   digest_0.6.37      
 [7] timechange_0.3.0    lifecycle_1.0.4     dreamerr_1.5.0     
[10] magrittr_2.0.3      compiler_4.4.2      rlang_1.1.6        
[13] tools_4.4.2         data.table_1.17.0   knitr_1.50         
[16] ggsignif_0.6.4      labeling_0.4.3      xml2_1.3.8         
[19] RColorBrewer_1.1-3  abind_1.4-8         tinytable_0.8.0    
[22] withr_3.0.2         numDeriv_2016.8-1.1 grid_4.4.2         
[25] datawizard_1.0.2    fansi_1.0.6         future_1.34.0      
[28] globals_0.16.3      scales_1.4.0        insight_1.2.0      
[31] cli_3.6.5           rmarkdown_2.29      ragg_1.4.0         
[34] generics_0.1.4      rstudioapi_0.17.1   performance_0.13.0 
[37] future.apply_1.11.3 tzdb_0.5.0          parameters_0.24.2  
[40] commonmark_1.9.5    parallel_4.4.2      effectsize_1.0.0   
[43] cellranger_1.1.0    stringmagic_1.2.0   vctrs_0.6.5        
[46] sandwich_3.1-1      jsonlite_2.0.0      carData_3.0-5      
[49] car_3.1-3           litedown_0.7        hms_1.1.3          
[52] rstatix_0.7.2       Formula_1.2-5       listenv_0.9.1      
[55] systemfonts_1.2.2   parallelly_1.43.0   glue_1.8.0         
[58] codetools_0.2-20    cowplot_1.1.3       stringi_1.8.7      
[61] gtable_0.3.6        tables_0.9.31       pillar_1.10.2      
[64] htmltools_0.5.8.1   R6_2.6.1            textshaping_1.0.0  
[67] kableExtra_1.4.0    evaluate_1.0.3      lattice_0.22-7     
[70] markdown_2.0        backports_1.5.0     gridtext_0.1.5     
[73] Rcpp_1.0.14         zip_2.3.2           svglite_2.1.3      
[76] nlme_3.1-168        checkmate_2.3.2     xfun_0.52          
[79] zoo_1.8-14          pkgconfig_2.0.3    



  ___  ____  ____  ____  ____ ®
 /__    /   ____/   /   ____/      StataNow 18.5
___/   /   /___/   /   /___/       MP—Parallel Edition

 Statistics and Data Science       Copyright 1985-2023 StataCorp LLC
                                   StataCorp
                                   4905 Lakeway Drive
                                   College Station, Texas 77845 USA
                                   800-782-8272        https://www.stata.com
                                   979-696-4600        service@stata.com
